package com.mbc.rmt.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import com.mbc.rmt.data.CashRemittanceByAgentNDetailDataList;
import com.mbc.rmt.data.CashRemittanceToAgentNDetailDataList;
import com.mbc.rmt.entities.CashRemittanceByAgentArchiveCri;
import com.mbc.rmt.entities.CashRemittanceByAgentDetails;
import com.mbc.rmt.entities.CashRemittanceToAgentNDetailCri;

public interface CashRemittanceByAgentDetailDAO {

	public void create(CashRemittanceByAgentDetails entity)throws SQLException;
	public void update(CashRemittanceByAgentDetails entity)throws SQLException;
	public CashRemittanceByAgentDetails find(long key)throws SQLException;
	public void delete(long key)throws SQLException;
	public void deleteByReceiptId(long ReceiptId)throws SQLException;
	public ArrayList<CashRemittanceByAgentDetails> findCRByAgentDetails(long ReceiptId) throws SQLException;
	public ArrayList<CashRemittanceByAgentDetails> findforConfirmDetail(long key)throws SQLException;
	public CashRemittanceByAgentNDetailDataList findforConfirm(CashRemittanceByAgentArchiveCri archivecri, String status)throws SQLException;
	public CashRemittanceToAgentNDetailDataList findforCRToAgent(CashRemittanceToAgentNDetailCri archivecri)throws SQLException;
}
